REST Client
https://gyazo.com/87172be4ebe4596b84b1074e7cfffa03
#Chrome_Extension
marketplace
ちゃんと読んでないけど割と色々できそう
github
簡単な使い方
.httpfileを作成
下記の様に書く
code:a.http
GET http://localhost:3000/hoge/piyo
コードの上部に「Send Request」と表示されるのでそれをクリックする
するとresponseが別ファイルで表示される
1つのfileに複数書く場合は###で区切る
GETは省略可能
code:a.http
GET https://randomuser.me/api/
Content-Type: application/json
###
https://randomuser.me/api/
GETのquery parameter
code:get.http
GET https://hoge.com/hogehoge
?hoge=1
&piyo=2
Base64が必要な場合はちゃんとbase64nにした結果を指定する
code:post.http
POST https://jsonplaceholder.typicode.com/posts
Content-Type: application/json
{
"title": "foo",
"body": "bar",
"userId": 1
}